<%@ Page Language="C#" MasterPageFile="app-frame.master" AutoEventWireup="true" CodeFile="Cmpny.aspx.cs"
    Inherits="CompanyWizard" Title="Untitled Page" %>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
    <table id="tblMain" border="0" cellspacing="0" cellpadding="0" width="100%" style="vertical-align: top;">
        <tr><td><asp:Label ID="lbl_message" runat="server" Font-Size="X-Small" ForeColor="Black" CssClass="defaultFont"></asp:Label></td></tr>
        <tr>            
            <td id="tdcPage" colspan="2" valign="top" align="left" style="height: 100%">
                <table id="tblDynamicMain" width="100%" border="0" cellpadding="0" cellspacing="0" runat="server">
                    <tr>
                        <td colspan="4">
                            <%--<asp:Label ID="lbl_message" runat="server" Font-Size="X-Small" ForeColor="Black" CssClass="defaultFont"></asp:Label>--%>
                        </td>
                    </tr>
                    <tr class="Dynamic_PageHeaderRow">
                        <td colspan="4">&nbsp;<asp:Literal ID="imgliteral" runat="server" Text=""></asp:Literal>
                            &nbsp;Company Details</td>
                    </tr>
                    <tr>
                        <td>
                            <table id="tbl_p_ngcompany" width="100%" cellpadding="0" cellspacing="0">
                                <tr class="Dynamic_HtmlTableCell" valign="middle">
                                    <td>
                                    </td>
                                    <td class="Dynamic_HtmlTableCell" colspan="2" valign="middle">
                                    </td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr valign="middle" class="Dynamic_HtmlTableCell" style="display:none;">
                                    <td style="height: 24px">
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell" style="height: 24px">
                                        <span id="lb_p_ngcompany_company_id" class="controlLabelFont">
                                            <span style="font-size: 9pt">Company</span> id</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle" style="height: 24px">
                                        <asp:TextBox ID="tb_company_id" runat="server" Enabled="False" CssClass="controlFont"></asp:TextBox></td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell" style="height: 24px">
                                        </td>
                                    <td style="height: 24px">
                                        &nbsp;</td>
                                </tr>
                                <tr class="Dynamic_HtmlTableCell" valign="middle">
                                    <td>
                                    </td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                        <span id="lb_p_ngcompany_company_name" class="controlLabelFont">
                                            <span style="font-size: 8.5pt">Company name</span> </span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                        <asp:TextBox ID="tb_company_name" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr valign="middle" class="Dynamic_HtmlTableCell">
                                    <td>
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="lb_p_ngcompany_Status" class="controlLabelFont">Address1</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                        <asp:TextBox ID="tb_add1" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="lb_p_ngcompany_Address1" class="controlLabelFont">Address2</span></td>
                                    <td>
                                        <asp:TextBox ID="tb_add2" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                </tr>
                                <tr valign="middle" class="Dynamic_HtmlTableCell">
                                    <td>
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="lb_p_ngcompany_Address2" class="controlLabelFont">City</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                        <asp:TextBox ID="tb_city" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="lb_p_ngcompany_city" class="controlLabelFont">State</span></td>
                                    <td>
                                        <asp:TextBox ID="tb_state" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                </tr>
                                <tr valign="middle" class="Dynamic_HtmlTableCell">
                                    <td style="height: 19px">
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell" style="height: 19px">
                                        <span id="lb_p_ngcompany_state" class="controlLabelFont">Email</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle" style="height: 19px">
                                        <asp:TextBox ID="tb_email" runat="server" CssClass="controlFont" Enabled="False"></asp:TextBox><asp:RegularExpressionValidator
                                            ID="RegularExpressionValidator1" runat="server" ControlToValidate="tb_email"
                                            ErrorMessage="This is not a valid email id." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator></td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell" style="height: 19px">
                                        <span id="lb_p_ngcompany_pincode" class="controlLabelFont">Pincode</span></td>
                                    <td style="height: 19px">
                                        <asp:TextBox ID="tb_pincode" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                </tr>
                                <tr valign="middle" class="Dynamic_HtmlTableCell">
                                    <td>
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="lb_p_ngcompany_email" class="controlLabelFont">Phone</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                        <asp:TextBox ID="tb_phone" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="lb_p_ngcompany_phone" class="controlLabelFont">Fax</span></td>
                                    <td>
                                        <asp:TextBox ID="tb_fax" runat="server" CssClass="controlFont"></asp:TextBox></td>
                                </tr>    
                                <tr class="Dynamic_HtmlTableCell" valign="middle">
                                    <td>
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="Span1" class="controlLabelFont">Default Locale</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle" colspan="3">
                                        <asp:DropDownList ID="ddLocale" runat="server" CssClass="controlFont">
                                        </asp:DropDownList></td>
                                </tr>
                                <tr class="Dynamic_HtmlTableCell" valign="middle" id="trLogo" runat="server">
                                    <td>
                                    </td>
                                    <td valign="middle" class="Dynamic_HtmlTableCell">
                                        <span id="Span2" class="controlLabelFont">Logo</span></td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle" colspan="3">
                                        <asp:FileUpload ID="FileUploadLogo" runat="server" CssClass="controlFont" />&nbsp;<span style="font-size: 8pt;" class="defaultFont">Images files with size (238 X 76)  are recommended.</span>
                                            <asp:LinkButton ID="lnkDeleteLogo" runat="server" OnClick="lnkDeleteLogo_Click">[Delete Logo]</asp:LinkButton><br /><span style="font-size: 8pt;" class="defaultFont">Logo changes will be effective in the next login.</span></td>
                                </tr>
                                <tr runat="server" class="Dynamic_HtmlTableCell" valign="middle">
                                    <td>
                                    </td>
                                    <td class="Dynamic_HtmlTableCell" valign="middle">
                                        <span id="Span3" class="controlLabelFont">Owner</span></td>
                                    <td class="Dynamic_HtmlTableCell" colspan="3" valign="middle">
                                        <asp:DropDownList ID="ddownerid" runat="server" CssClass="controlFont">
                                        </asp:DropDownList></td>
                                </tr>
                            </table>
                            <asp:HiddenField ID="Hf_created_date" runat="server" />
                            <asp:HiddenField ID="HF_created_by" runat="server" />
                            <asp:HiddenField ID="HF_owner_id" runat="server" />
                            <asp:HiddenField ID="HF_af_row_id" runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr style="padding-top:5px;" runat="Server" id="trstar">
            <td id="td2" colspan="3" valign="top" align="left">
                <span style="font-size: 8pt;" class="defaultFont">Fields marked with (<img src="Images/star.gif" />)
                    are required.</span></td>
        </tr>
        <tr>
            <td id="tdcDefaultFields" colspan="3" valign="top" align="left">
            </td>
        </tr>
        <tr runat="server" id="trbtn">
            <td id="td1" colspan="3" class="Dynamic_HtmlTableBottom" style="height: 24px" align="center">
                &nbsp;&nbsp;
                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btn_save_Click" UseSubmitBehavior="true" OnClientClick = "javascript:disableThis('ctl00_ContentPlaceHolder3_btnSave','Saving...');" />
                <asp:Button ID="btnReset" runat="server" OnClientClick="aspnetForm.reset();return false;"
                    Text="Reset" UseSubmitBehavior="false" /></td>
        </tr>
    </table>
</asp:Content>
